home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xarchie-2.0.9 / pauthent.h < prev    next >
C/C++ Source or Header  |  1995-06-18  |  987b  |  54 lines

  1. /*
  2.  * Copyright (c) 1989, 1990, 1991 by the University of Washington
  3.  *
  4.  * For copying and distribution information, please see the file
  5.  * <copyright.h>.
  6.  *
  7.  * gf xarchie v2.0 - Sync with archie v1.4.1.
  8.  */
  9.  
  10. #include <copyright.h>
  11.  
  12. #define PFSA_UNAUTHENTICATED        1
  13.  
  14. struct pfs_auth_info {
  15.     char            auth_type[100];
  16.     char            authenticator[250];
  17. };
  18.  
  19. typedef struct pfs_auth_info *PAUTH;
  20. typedef struct pfs_auth_info PAUTH_ST;
  21.  
  22. PAUTH get_pauth();
  23.  
  24. #ifndef VMS
  25. # ifndef IN_H
  26. #  ifdef PCNFS
  27. #   include <tklib.h>
  28. #  endif
  29. #  ifndef _TYPES_
  30. #   include <sys/types.h>
  31. #  endif
  32. #  include <netinet/in.h>
  33. #  define IN_H
  34. # endif
  35. #else
  36. # ifndef _ARCHIE_VMS
  37. #  include <vms.h>
  38. # endif
  39. #endif
  40.  
  41. struct client_info {
  42.     int                ainfo_type;
  43.     char            *auth_type;
  44.     char            *authenticator;
  45.     char            *userid;
  46.     short            port;
  47.     struct in_addr        haddr;
  48.     struct pfs_auth_info    *previous;
  49.     struct pfs_auth_info    *next;
  50. };
  51.  
  52. typedef struct client_info *CINFO;
  53. typedef struct client_info CINFO_ST;
  54.